<div class="pageContent">
    <form method="post" action="${rc.getContextPath()}/manage/param/saveProcessModelParam" class="pageForm required-validate" onsubmit="return validateCallback(this, addParamDialogAjaxDone);">
        <div class="pageFormContent" layoutH="56">
            <input type="hidden" name="navTabId" value="${navTabId!''}" />
            <input type="hidden" name="modelId" value="<#if (modelId)??>${modelId!''}</#if>" />
            <div class="unit">
                <label><@label key='process_param_name.C,colon'>参数名称：</@label></label>
                <input name="name" size="32"  type="text" class="textInput" maxlength="32" />
            </div>
            <div class="unit">
                <label><@label key='process_param_code.C,colon'>参数标识：</@label></label>
                <input name="code"   size="32"  type="text" maxlength="32"  class="required textInput" remote="${rc.getContextPath()}/manage/param/isExitsParam?modelId=<#if (modelId)??>${modelId!''}</#if>"/>
                <span for="code" title="<@label key='process_param_code.C,AlreadyExists.C'>参数标识已存在</@label>" generated="false" class="error" style="display: none"></span>
            </div>
            <div class="unit">
                <label><@label key='DataType.C,colon'>数据类型：</@label></label>
                <select name="dataType" class="required">                
                        <option value=""><@label key='selected_first.C'>请选择</@label></option>
                        <#if dataType??>
                            <#list dataType as ecode>
                                <option value="${ecode.eCode!''}">${ecode.eCodeText!''}</option>
                            </#list>
                        </#if>
                </select>
            </div>
            <div class="unit">
                <label><@label key='description.C,colon'>描述：</@label></label>
                <textarea name="description" rows="3" cols="40"></textarea>
            </div>
        </div>
        <div class="formBar">
            <ul>
                <li><div class="buttonActive"><div class="buttonContent"><button type="submit"><@label key="save.B">保存</@label></button></div></div></li>
                <li>
                    <div class="buttonActiveGrey"><div class="buttonContent"><button type="button" class="close"><@label key="cancel.B">取消</@label></button></div></div>
                </li>
            </ul>
        </div>
    </form>
</div>
